<?php
    class test_product_controller extends controllerBase
    {
        public function process()
        {
            $oDatabase = new database();
            $aProducts = $oDatabase->getListObject("select * from sanpham", true);
            $this->aParams['products'] = $aProducts;
        }
    }
?>